using B.S.Sterilizationcenter.ErrorCode;
using MediatR;

namespace B.S.Sterilizationcenter.Writer.API.Appliaction.Commends.Yjb.MedicineInventory
{
    public class AddMedicineInventoryCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int? MedicineInventoryId { get; set; }

        /// <summary>
        /// 卡号
        /// </summary>
        public string? CardNo { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string? Sex { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int? YearsOld { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string? IdCard { get; set; }

        /// <summary>
        /// 发药时间
        /// </summary>
        public DateTime? DispenseTime { get; set; }

        /// <summary>
        /// 发药状态
        /// </summary>
        public string? DispenseStatus { get; set; }

        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 查询日期范围（今天/本周/本月/本年/全部）
        /// </summary>
        public string? DateRange { get; set; }
    }
} 